Search | Help » General » Web » Authoring » Browser Safe |
Browser-safe colors
NWE xterminals can only display 256 colors simultaneously. This can be a problem when you display multiple JPEG or GIF images on the same page, each of which may have its own set of 256 (or more) colors. Netscape deals with this problem by settling on 216 colors and approximating the original colors in the images.
The following table lists the 216 colors. These are good choices for background and font colors; you can cut-n-paste the codes next to each color into your body tag bgcolor, link, alink, and vlink attributes.
#000000 | #000033 | #000066 | #000099 | #0000cc | #0000ff | ||||||
#003300 | #003333 | #003366 | #003399 | #0033cc | #0033ff | ||||||
#006600 | #006633 | #006666 | #006699 | #0066cc | #0066ff | ||||||
#009900 | #009933 | #009966 | #009999 | #0099cc | #0099ff | ||||||
#00cc00 | #00cc33 | #00cc66 | #00cc99 | #00cccc | #00ccff | ||||||
#00ff00 | #00ff33 | #00ff66 | #00ff99 | #00ffcc | #00ffff | ||||||
#330000 | #330033 | #330066 | #330099 | #3300cc | #3300ff | ||||||
#333300 | #333333 | #333366 | #333399 | #3333cc | #3333ff | ||||||
#336600 | #336633 | #336666 | #336699 | #3 |